public IHttpActionResult FindById(int id)
 {
     try
     {
         var role       = _rolesRepository.FindById(id);
         var resultRole = new Role {
             Id = role.Id, Name = role.Name
         };
         return(Ok(resultRole));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }