public IHttpActionResult FindCustomerByUsername(findByUsernameRequest model) { if (model.username == null) { throw new ArgumentNullException(nameof(model.username)); } var res = db.PR_GetUserByUsername(model.username); return(Ok(res)); }
public IHttpActionResult FindCustomerByUsername(findByUsernameRequest model) { if (model.username == null) { throw new ArgumentNullException(nameof(model.username)); } var res = db.PR_GetUserByUsername(model.username); return(Ok(res)); }