public string CheckByUserName(string UserName, Guid id) { var result = _dnUserApi.CheckUserName(UserName.Trim(), id, UserItem.AgencyID); return(result ? "false" : "true"); }