public async Task <int> Save(PromoCreateViewModel model, int userId) { UserPromoModel promo = new UserPromoModel() { Description = model.Description, Created = DateTime.Now.ToUniversalTime(), CreatedBy = userId, Active = true, PublicToken = Guid.NewGuid() }; return(await PromoRepository.Save(promo, userId)); }