Beispiel #1
0
        public ProjectAllocationEntities GetUserDetailById(int orgID, string proid, int CL_ProjID)
        {
            var ProjectDAC = new ClientDAC();

            return(ProjectDAC.GetUserDetailById(orgID, proid, CL_ProjID));
            //return ProjectDAC.getuserdatabyid(orgID, proid);
        }
Beispiel #2
0
        public List <UserEntity> getEmployeesBySelectProject(int ProjectId, int AccountId, int CL_ProjId)
        {
            var ClientDAC = new ClientDAC();

            //return ClientDAC.getEmployeesBySelectProject(ProjectId, AccountId, CL_ProjId);
            return(ClientDAC.getusersforclient(ProjectId, AccountId, CL_ProjId));
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        public Client Find(int id)
        {
            var ClientDac = new ClientDAC();
            var result    = ClientDac.SelectById(id);

            return(result);
        }
        /// <summary>
        ///
        /// </summary>
        /// <returns></returns>
        public List <Client> All()
        {
            var ClientDac = new ClientDAC();
            var result    = ClientDac.Select();

            return(result);
        }
Beispiel #5
0
        /// <summary>
        /// Find method.
        /// </summary>
        /// <param name="aspuser"></param>
        /// <returns></returns>
        public Client FindByASPUSER(string aspuser)
        {
            var clientDac = new ClientDAC();
            var result    = clientDac.SelectByASPUSER(aspuser);

            return(result);
        }
Beispiel #6
0
        public void Test_FindClientById()
        {
            var dac = new ClientDAC();

            var result = dac.FindById <Client>(1);

            Assert.IsNotNull(result);
            Assert.IsInstanceOfType(result, new Client().GetType());
        }
        public Client Add(Client Client)
        {
            var ClientDac = new ClientDAC();

            Client.CreatedBy = CreatedBy;
            Client.CreatedOn = CreatedOn;
            Client.ChangedBy = ChangedBy;
            Client.ChangedOn = ChangedOn;
            return(ClientDac.Create(Client));
        }
Beispiel #8
0
        public string AssociateManager(ClientEntity orgAccount)
        {
            var clientDAC = new ClientDAC();

            return(clientDAC.AssociateManager(orgAccount));
        }
Beispiel #9
0
        public string SaveEmployee(ClientEntity orgAccount)
        {
            var clientDAC = new ClientDAC();

            return(clientDAC.SaveEmployee(orgAccount));
        }
Beispiel #10
0
        public string updateuserdetails(ClientEntity projectdtl)
        {
            var clientDAC = new ClientDAC();

            return(clientDAC.updateuserdetails(projectdtl));
        }
Beispiel #11
0
        public List <OrganizationAccountEntity> GetEmpRolenames(int AccountId)
        {
            var ClientDAC = new ClientDAC();

            return(ClientDAC.GetEmpRolenames(AccountId));
        }
Beispiel #12
0
        public List <ProjectAllocationEntities> AssociateEmployees(int projectid, int accountid)
        {
            var count = new ClientDAC();

            return(count.AssociateEmployees(projectid, accountid));
        }
Beispiel #13
0
        public List <ClientEntity> getclientprojectsdropdown(int projid)
        {
            var ClientDAC = new ClientDAC();

            return(ClientDAC.getclientprojectsdropdown(projid));
        }
Beispiel #14
0
        public string DeleteProjecttask(string id)
        {
            ClientDAC dacobj = new ClientDAC();

            return(dacobj.DeleteProjecttask(id));
        }
Beispiel #15
0
        public string updatetasks(int id, string Acc_SpecificTaskName, string ProjectID, string Proj_SpecificTaskName, string RTMId, string Actual_StartDate, string Actual_EndDate, string Plan_StartDate, string Plan_EndDate, string StatusId)
        {
            var count = new ClientDAC();

            return(count.updatetasks(id, Acc_SpecificTaskName, ProjectID, Proj_SpecificTaskName, RTMId, Actual_StartDate, Actual_EndDate, Plan_StartDate, Plan_EndDate, StatusId));
        }
Beispiel #16
0
        public ProjectAllocationEntities GetClientProjbyid(int orgID)
        {
            var ProjectDAC = new ClientDAC();

            return(ProjectDAC.GetClientProjbyid(orgID));
        }
Beispiel #17
0
        public List <UserEntity> getManagersBySelectProject(int ProjectId, int CL_ProjId, int AccountId /*,int UserID*/)
        {
            var ClientDAC = new ClientDAC();

            return(ClientDAC.getManagersBySelectProject(ProjectId, CL_ProjId, AccountId /*, UserID*/));
        }
Beispiel #18
0
        public string ChangeStatus(string id, string status)
        {
            var LeaveTypeDAC = new ClientDAC();

            return(LeaveTypeDAC.ChangeStatus(id, status));
        }
Beispiel #19
0
        public List <OrganizationAccountEntity> GetRoleNamesbyemployee(int AccountId)
        {
            var ClientDAC = new ClientDAC();

            return(ClientDAC.GetRoleNamesbyemployee(AccountId));
        }
Beispiel #20
0
        public string SavetimeSheetImages(int timesheetid, int?userid, List <string> news, int?upid)
        {
            var ClientDAC = new ClientDAC();

            return(ClientDAC.SavetimeSheetImages(timesheetid, userid, news, upid));
        }
Beispiel #21
0
        public string DeleteProjectsData(int client_id, int Projectid)
        {
            var count = new ClientDAC();

            return(count.DeleteProjectAssigned(client_id, Projectid));
        }
Beispiel #22
0
        public List <string> GetImages(int timesheetid)
        {
            var ClientDAC = new ClientDAC();

            return(ClientDAC.GetImages(timesheetid));
        }
Beispiel #23
0
        public ProjectAllocationEntities GetassUserDetailById(int orgID)
        {
            var ProjectDAC = new ClientDAC();

            return(ProjectDAC.GetassUserDetailById(orgID));
        }
Beispiel #24
0
        public string AddSelectedManager(ClientEntity formdata)
        {
            var clientDAC = new ClientDAC();

            return(clientDAC.AddSelectedManager(formdata));
        }
Beispiel #25
0
        public string Savemanager(ClientEntity orgAccount)
        {
            var clientDAC = new ClientDAC();

            return(clientDAC.Savemanager(orgAccount));
        }
Beispiel #26
0
        public string AddSelectedEmployee(ClientEntity formdata)
        {
            var clientDAC = new ClientDAC();

            return(clientDAC.AddSelectedEmployee(formdata));
        }
Beispiel #27
0
        public string AssociateEmployee(ClientEntity orgAccount)
        {
            var clientDAC = new ClientDAC();

            return(clientDAC.AssociateEmployee(orgAccount));
        }
Beispiel #28
0
        public ProjectAllocationEntities GetManagerDetailByMId(int selectedManager)
        {
            var ProjectDAC = new ClientDAC();

            return(ProjectDAC.GetManagerDetailByMId(selectedManager));
        }
Beispiel #29
0
        public List <ProjectAllocationEntities> GetGenders()
        {
            var count = new ClientDAC();

            return(count.GetGenders());
        }
Beispiel #30
0
        public List <ProjectEntity> GetAllProjects(int Proj_ProjectID)
        {
            var ClientDAC = new ClientDAC();

            return(ClientDAC.GetAllProjects(Proj_ProjectID));
        }