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