public async Task <ActionResult <PromoViewModel> > Create(CreatePromoBody createPromoBody) { try { Logger.LogInformation("Creating {Discount}% promo for {Id}", createPromoBody.Discount, createPromoBody.EventId); var result = await PromoService.Create(createPromoBody); return(result); } catch (Exception e) { Logger.LogInformation("Create exception {Exception}", e.ToString()); return(BadRequest(e)); } }