public IHttpActionResult UserBanks(string UserId = "") { Guid UserGuid = Guid.Empty;; if (!Guid.TryParse(UserId, out UserGuid)) { return(NotFound()); } var data = _DropDownService.GetUserBanks(UserGuid); if (data == null) { return(NotFound()); } return(Ok(data)); }