public ActionResult <UserLoginModel> GetUserLoginModelById(int id) { try { return(_mapper.DetailModelToLoginModel(_repository.GetById(id))); } catch (Exception e) { return(null); } }