public IEnumerable <UserView> Get() { var model = _userServises.GetListForTransactions(User.Identity.Name); if (model.Error) { Response.StatusCode = 400; } return(model.Items); }
public IEnumerable <UserView> Get() { var users = _userServises.GetListForTransactions(User.Identity.Name); return(users); }