websitepanel/WebsitePanel/Sources/WebsitePanel.WebDavPortal/Mapping/AutoMapperPortalConfiguration.cs
2015-04-10 02:07:19 -07:00

19 lines
No EOL
544 B
C#

using AutoMapper;
using WebsitePanel.WebDavPortal.Mapping.Profiles.Account;
using WebsitePanel.WebDavPortal.Mapping.Profiles.Webdav;
namespace WebsitePanel.WebDavPortal.Mapping
{
public class AutoMapperPortalConfiguration
{
public static void Configure()
{
Mapper.Initialize(
config =>
{
config.AddProfile<UserProfileProfile>();
config.AddProfile<ResourceTableItemProfile>();
});
}
}
}