public IHttpActionResult Login(ClerkDTO loginUser) { try { return(Ok(ClerkLogic.LoginClerk(loginUser))); } catch (Exception ex) { return(BadRequest()); } }
public ClerkDTO Login(ClerkDTO loginUser) { return(ClerkLogic.LoginClerk(loginUser)); }