public IActionResult Create([FromBody] Responsibilities ec)
 {
     try
     {
         var newResp = _responsibilitiesService.Create(ec);
         return(Ok(newResp));
     }
     catch (AppException ex)
     {
         return(BadRequest(new { message = ex.Message }));
     }
 }