public List <AccountUserDto> GetUsers(List <Guid> IdUser) { try { var data = new HTTPWebRequestUtilities <AccountUserDto>(_urlApiFactory.GetUrl(ServiceType.User)) .Post($"Users", IdUser); return(data); } catch (Exception ex) { throw ex; } }
public bool UserExist(Guid IdUser) { try { var exist = new HTTPWebRequestUtilities <AccountUserDto>(_urlApiFactory.GetUrl(ServiceType.User)) .GetSingle($"User/{IdUser}"); return(exist != null ? true : false); } catch (Exception ex) { return(false); } }
public AccountUserDto Detail(Guid IdUser) { try { var resspond = new HTTPWebRequestUtilities <AccountUserDto>(_urlApiFactory.GetUrl(ServiceType.User)) .GetSingle($"User/{IdUser}"); return(resspond); } catch (Exception ex) { throw ex; } }