public static Info Map(Library.Info r) => new Info { InfoId = r.InfoID, Type = r.Type, Message = r.Message, CampaignId = r.CampaignID };
public void CreateInfo(Library.Info info) { _db.Add(Mapper.Map(info)); }
public static Info Map(Library.Info r) => new Info { InfoId = r.InfoID, Type = r.Type, Message = r.Message, CampaignId = r.CampaignID };
public void CreateInfo(Library.Info info) { _db.Add(Mapper.Map(info)); }