コード例 #1
0
 public IHttpActionResult Login(ClerkDTO loginUser)
 {
     try
     {
         return(Ok(ClerkLogic.LoginClerk(loginUser)));
     }
     catch (Exception ex)
     {
         return(BadRequest());
     }
 }
コード例 #2
0
 public ClerkDTO Login(ClerkDTO loginUser)
 {
     return(ClerkLogic.LoginClerk(loginUser));
 }