public IHttpActionResult GetCompanyById(int id)
        {
            UserRoleModels userRoleModel = new UserRoleModels();

            try
            {
                UserRoleModels.Detail company = userRoleModel.getUserRoleById(id);
                return(Ok(company));
            }
            catch
            {
                return(NotFound());
            }
        }