public IActionResult AddTypes([FromBody] Types model) { var responseData = _typesRepository.AddTypes(model); return(Json(new { response = responseData })); }