Show / Hide Table of Contents

Interface IUserService

Inherited Members
ICrudService<IUser, TenantServiceContext, Query>.UpdateAsync<T>(TenantServiceContext, T)
ICreateService<IUser, TenantServiceContext, Query>.CreateAsync<T>(TenantServiceContext, T)
ICreateService<IUser, TenantServiceContext, Query>.DeleteAsync(TenantServiceContext, int)
IReadService<IUser, TenantServiceContext, Query>.QueryAsync<T>(TenantServiceContext, Query)
IReadService<IUser, TenantServiceContext, Query>.QueryCountAsync(TenantServiceContext, Query)
IReadService<IUser, TenantServiceContext, Query>.QueryResultAsync<T>(TenantServiceContext, Query)
IReadService<IUser, TenantServiceContext, Query>.GetAsync<T>(TenantServiceContext, int)
IAttributeService<TenantServiceContext>.GetAttributeAsync(TenantServiceContext, int, string)
IAttributeService<TenantServiceContext>.SetAttributeAsync(TenantServiceContext, int, string, string)
IAttributeService<TenantServiceContext>.DeleteAttributeAsync(TenantServiceContext, int, string)
Namespace: PayrollEngine.Client.Service
Assembly: PayrollEngine.Client.Core.dll
Syntax
public interface IUserService : ICrudService<IUser, TenantServiceContext, Query>, ICreateService<IUser, TenantServiceContext, Query>, IReadService<IUser, TenantServiceContext, Query>, IAttributeService<TenantServiceContext>

Methods

GetAsync<T>(TenantServiceContext, string)

Declaration
Task<T> GetAsync<T>(TenantServiceContext context, string identifier) where T : class, IUser
Parameters
Type Name Description
TenantServiceContext context
string identifier
Returns
Type Description
Task<T>
Type Parameters
Name Description
T

TestPasswordAsync(TenantServiceContext, int, string)

Declaration
Task<bool> TestPasswordAsync(TenantServiceContext context, int userId, string password)
Parameters
Type Name Description
TenantServiceContext context
int userId
string password
Returns
Type Description
Task<bool>

UpdatePasswordAsync(TenantServiceContext, int, PasswordChangeRequest)

Declaration
Task UpdatePasswordAsync(TenantServiceContext context, int userId, PasswordChangeRequest changeRequest)
Parameters
Type Name Description
TenantServiceContext context
int userId
PasswordChangeRequest changeRequest
Returns
Type Description
Task

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX