예제 #1
0
 public IActionResult GetUserGuid(string username, string password)
 {
     try
     {
         var userGuid = _userLogin.GetUserGuid(username, password);
         return(userGuid == Guid.Empty ? BadRequest("Could Not Get User Guid") : new ObjectResult(userGuid));
     }
     catch (Exception)
     {
         return(BadRequest("Could Not Get User Guid"));
     }
 }