public async Task <ActionResult> AddProduction(Production production) { try { await _production.AddProductionAsync(production); var Response = new ResponseViewModel(true, HttpStatusCode.OK, "SUCCESS", production); return(Ok(Response)); } catch (Exception) { var Response = new ResponseViewModel(false, HttpStatusCode.NoContent, "failed", null); return(Ok(Response)); } }