Ejemplo n.º 1
0
 private bool BeUniqueName(AccountUserModel accountUserModel, string accountUserName)
 {
     return(_accountUserService.NameUniqueCheck(accountUserName, accountUserModel.Id));
 }
Ejemplo n.º 2
0
        public IHttpActionResult UniqueCheck(string name)
        {
            var result = !_accountService.NameUniqueCheck(name);

            return(Ok(result));
        }