You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ombi/src/Ombi.Mapping/Profiles/SettingsProfile.cs

17 lines
620 B

using AutoMapper;
using Ombi.Core.Models.UI;
using Ombi.Settings.Settings.Models.Notifications;
namespace Ombi.Mapping.Profiles
{
public class SettingsProfile : Profile
{
public SettingsProfile()
{
CreateMap<EmailNotificationsViewModel, EmailNotificationSettings>().ReverseMap();
CreateMap<DiscordNotificationsViewModel, DiscordNotificationSettings>().ReverseMap();
CreateMap<PushbulletNotificationViewModel, PushbulletSettings>().ReverseMap();
CreateMap<SlackNotificationsViewModel, SlackNotificationSettings>().ReverseMap();
}
}
}