Posts

Showing posts from January, 2022

Backend works Log

Image
Update Multiple Records Request object  public class UpdateCampaignRuleRequest     {         public List<BbReferralCampaignRule> Items { get; set; }         public UpdateCampaignRuleRequest()         {             this.Items = new List<BbReferralCampaignRule>();         }     } ------------------------------------ Mapper  public class MappingProfile : Profile     {         public MappingProfile()         {             CreateMap<AddCampaignRuleRequest, BbReferralCampaignRule>();         }     } ----------- in startup.cs - > ConfigureServices.cs   AppStartup.ConfigureAutoMapperServices(services); in startup.cs - separate method  public static void ConfigureAutoMapperServices(IServiceCollection services)...