public UserService( IUnitOfWork unitOfWork, IStorageProvider storageProvider, IMessageService messageService, IDataProtectorUserTokenService dataProtectorUserTokenService, IBysSession bysSession) { _unitOfWork = unitOfWork; _storageProvider = storageProvider; _messageService = messageService; _dataProtectorUserTokenService = dataProtectorUserTokenService; _bysSession = bysSession; }
public LoginService( IUnitOfWork unitOfWork, ISendEmailService sendEmailService, IDataProtectorUserTokenService dataProtectorUserTokenService, IBysSession bysSession, IMessageService messageService) { _unitOfWork = unitOfWork; _sendEmailService = sendEmailService; _dataProtectorUserTokenService = dataProtectorUserTokenService; _bysSession = bysSession; _messageService = messageService; }
public AuditingHelper( IAuditInfoProvider auditInfoProvider, IAuditingStore auditingStore, IAuditingConfiguration configuration, IBysSession bysSession, IAuditSerializer auditSerializer) { _auditInfoProvider = auditInfoProvider; _configuration = configuration; _auditSerializer = auditSerializer; BysSession = bysSession; Logger = NullLogger.Instance; AuditingStore = auditingStore; }
public EntityHistoryHelper(IBysSession session) { BysSession = session; }
public ForestPlotService(IUnitOfWork unitOfWork, IBysSession bysSession, INotificationService notificationService) { _unitOfWork = unitOfWork; _bysSession = bysSession; _notificationService = notificationService; }
public AuditHelper(IBysSession bysSession) { _bysSession = bysSession; }
public static ICForestPlotHistory ToForestPlotHistory(this ICForestPlot entity, IBysSession session) { return(entity == null ? null : new ICForestPlotHistory { GEProvinceCode = entity.GEProvinceCode, GEDistrictCode = entity.GEDistrictCode, GECommuneCode = entity.GECommuneCode, GECompartmentCode = entity.GECompartmentCode, GESubCompartmentCode = entity.GESubCompartmentCode, GEPlotCode = entity.GEPlotCode, GEParcelCode = entity.GEParcelCode, ICForestPlotHistoryVillage = entity.ICForestPlotVillage, ICForestPlotHistoryArea = entity.ICForestPlotArea, ICForestTypeCode = entity.ICForestTypeCode, ICForestOrgCode = entity.ICForestOrgCode, ICTreeSpecCode = entity.ICTreeSpecCode, ICForestPlotHistoryLocationLongitude = entity.ICForestPlotLocationLongitude, ICForestPlotHistoryLocationLatitude = entity.ICForestPlotLocationLatitude, ICForestPlotHistoryPlantingYear = entity.ICForestPlotPlantingYear, ICForestPlotHistoryAvgYearCanopy = entity.ICForestPlotAvgYearCanopy, ICForestPlotHistoryVolumnPerHa = entity.ICForestPlotVolumnPerHa, ICForestPlotHistoryVolumnPerPlot = entity.ICForestPlotVolumnPerPlot, APActorCode = entity.APActorCode, FK_APActorID = entity.FK_APActorID, ICLandUseCertCode = entity.ICLandUseCertCode, ICConflictSitCode = entity.ICConflictSitCode, ICForestPlotHistoryLandUseTerune = entity.ICForestPlotLandUseTerune, FK_GECommuneID = entity.FK_GECommuneID, FK_GECompartmentID = entity.FK_GECompartmentID, FK_GEDistrictID = entity.FK_GEDistrictID, FK_GEStateProvinceID = entity.FK_GEStateProvinceID, FK_GESubCompartmentID = entity.FK_GESubCompartmentID, FK_ICForestOrgID = entity.FK_ICForestOrgID, FK_ICTreeSpecID = entity.FK_ICTreeSpecID, FK_ICLandUseCertID = entity.FK_ICLandUseCertID, FK_ICForestCertID = entity.FK_ICForestCertID, ICForestPlotHistoryReliability = entity.ICForestPlotReliability, FK_GEForestProtectionDepartmentID = entity.FK_GEForestProtectionDepartmentID, FK_GEPeoplesCommitteeID = entity.FK_GEPeoplesCommitteeID, ICForestPlotHistoryLatestReviewDate = entity.ICForestPlotLatestReviewDate, ICForestPlotHistoryFormisUUID = entity.ICForestPlotFormisUUID, ICForestPlotHistoryPlantingDate = entity.ICForestPlotPlantingDate, ICForestPlotHistoryCreatedDate = Clock.Now, FK_ADuserID = session.UserId, FK_ICForestPlotID = entity.Id, }); }
public ContactReviewService(IUnitOfWork unitOfWork, IBysSession bysSession, INotificationService notificationService) { _unitOfWork = unitOfWork; _bysSession = bysSession; _notificationService = notificationService; }
public PermissionChecker(IBysSession sessionService) { _sessionService = sessionService; }
public static ARContactReview ToARContactReviewEntity(this ReviewContactDto dto, IBysSession session) { return(new ARContactReview { FK_ARContactID = dto.ContactId, FK_ReviewUserID = session.UserId, ARContactReviewContent = dto.Content, ARContactReviewTitle = dto.Title, ARContactReviewDate = Clock.Now, ARContactReviewRating = dto.Rating, ARContactReviewIsHide = false }); }
public UserController(IUserService userService, IBysSession sesionService) { _userService = userService; _sesionService = sesionService; }
public static APActorReview ToAPActorReviewEntity(this ReviewForestPlotActorDto dto, IBysSession session) { return(new APActorReview { FK_APActorID = dto.ActorId, FK_ReviewUserID = session.UserId, FK_ICForestPlotID = dto.ForestPlotId, APActorReviewRating = dto.Rating, APActorReviewTitle = dto.Title, APActorReviewContent = dto.Content, APActorReviewDate = Clock.Now, APActorReviewIsHide = false }); }