Class StaffServiceBase
Abstract base class - StaffServiceBase
Inheritance
System.Object
StaffServiceBase
Implements
Cmc.Core.ServiceModel.IService
Assembly: Cmc.Nexus.Common.Contracts.dll
Syntax
public abstract class StaffServiceBase : EntityService<StaffEntity>, IStaffService, IEntityService<StaffEntity>, IService
Constructors
StaffServiceBase()
Declaration
protected StaffServiceBase()
Methods
AuthenticateUserLogin(AuthenticationRequest)
Declaration
public virtual AuthenticationResponse AuthenticateUserLogin(AuthenticationRequest request)
Parameters
Type |
Name |
Description |
Cmc.Core.Security.UserAccount.AuthenticationRequest |
request |
|
Returns
Type |
Description |
Cmc.Core.Security.UserAccount.AuthenticationResponse |
|
ClearUserCache(Int32)
Declaration
public virtual void ClearUserCache(int userId)
Parameters
Type |
Name |
Description |
System.Int32 |
userId |
|
Get(String)
Declaration
public virtual StaffEntity Get(string code)
Parameters
Type |
Name |
Description |
System.String |
code |
|
Returns
GetCurrentUser()
Declaration
public virtual StaffEntity GetCurrentUser()
Returns
GetCurrentUserCampuses()
Declaration
public virtual IEnumerable<int> GetCurrentUserCampuses()
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Int32> |
|
GetStaffByEmployeeNumber(String)
Declaration
public virtual StaffEntity GetStaffByEmployeeNumber(string employeeNumber)
Parameters
Type |
Name |
Description |
System.String |
employeeNumber |
|
Returns
LookupCrmUserAccount(LookupUserAccountRequest)
Declaration
public virtual LookupUserAccountResponse LookupCrmUserAccount(LookupUserAccountRequest request)
Parameters
Type |
Name |
Description |
Cmc.Core.Security.UserAccount.LookupUserAccountRequest |
request |
|
Returns
Type |
Description |
Cmc.Core.Security.UserAccount.LookupUserAccountResponse |
|
SaveSearchProperties(SaveSearchPropertiesRequest)
Declaration
public virtual SaveSearchPropertiesResponse SaveSearchProperties(SaveSearchPropertiesRequest request)
Parameters
Returns
SaveStaffPassword(SaveStaffPasswordRequest)
Declaration
public virtual SaveStaffPasswordResponse SaveStaffPassword(SaveStaffPasswordRequest request)
Parameters
Returns
SaveStaffPolicies(SaveStaffPoliciesRequest)
Declaration
public virtual SaveStaffPoliciesResponse SaveStaffPolicies(SaveStaffPoliciesRequest request)
Parameters
Returns
SetDefaultSetting(SetDefaultSettingRequest)
Declaration
public virtual SetDefaultSettingResponse SetDefaultSetting(SetDefaultSettingRequest request)
Parameters
Returns
Implements
Cmc.Core.ServiceModel.IEntityService<>
Cmc.Core.ServiceModel.IService