Пример #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="command"></param>
 /// <param name="model"></param>
 /// <returns></returns>
 protected async override Task UpdateAsync(Command <Jaytas.Omilos.Web.Service.Models.Campaign.Input.Campaign, Guid> command, Jaytas.Omilos.Web.Service.Campaign.DomainModel.Campaign model)
 {
     await _campaignProvider.UpdateAsync(model);
 }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="model"></param>
 /// <returns></returns>
 protected async override Task <Guid> CreateAsync(Jaytas.Omilos.Web.Service.Campaign.DomainModel.Campaign model)
 {
     return(await _campaignProvider.CreateAsync(model));
 }