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); }
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); }
/// <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); }
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)); }
public string AssociateManager(ClientEntity orgAccount) { var clientDAC = new ClientDAC(); return(clientDAC.AssociateManager(orgAccount)); }
public string SaveEmployee(ClientEntity orgAccount) { var clientDAC = new ClientDAC(); return(clientDAC.SaveEmployee(orgAccount)); }
public string updateuserdetails(ClientEntity projectdtl) { var clientDAC = new ClientDAC(); return(clientDAC.updateuserdetails(projectdtl)); }
public List <OrganizationAccountEntity> GetEmpRolenames(int AccountId) { var ClientDAC = new ClientDAC(); return(ClientDAC.GetEmpRolenames(AccountId)); }
public List <ProjectAllocationEntities> AssociateEmployees(int projectid, int accountid) { var count = new ClientDAC(); return(count.AssociateEmployees(projectid, accountid)); }
public List <ClientEntity> getclientprojectsdropdown(int projid) { var ClientDAC = new ClientDAC(); return(ClientDAC.getclientprojectsdropdown(projid)); }
public string DeleteProjecttask(string id) { ClientDAC dacobj = new ClientDAC(); return(dacobj.DeleteProjecttask(id)); }
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)); }
public ProjectAllocationEntities GetClientProjbyid(int orgID) { var ProjectDAC = new ClientDAC(); return(ProjectDAC.GetClientProjbyid(orgID)); }
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*/)); }
public string ChangeStatus(string id, string status) { var LeaveTypeDAC = new ClientDAC(); return(LeaveTypeDAC.ChangeStatus(id, status)); }
public List <OrganizationAccountEntity> GetRoleNamesbyemployee(int AccountId) { var ClientDAC = new ClientDAC(); return(ClientDAC.GetRoleNamesbyemployee(AccountId)); }
public string SavetimeSheetImages(int timesheetid, int?userid, List <string> news, int?upid) { var ClientDAC = new ClientDAC(); return(ClientDAC.SavetimeSheetImages(timesheetid, userid, news, upid)); }
public string DeleteProjectsData(int client_id, int Projectid) { var count = new ClientDAC(); return(count.DeleteProjectAssigned(client_id, Projectid)); }
public List <string> GetImages(int timesheetid) { var ClientDAC = new ClientDAC(); return(ClientDAC.GetImages(timesheetid)); }
public ProjectAllocationEntities GetassUserDetailById(int orgID) { var ProjectDAC = new ClientDAC(); return(ProjectDAC.GetassUserDetailById(orgID)); }
public string AddSelectedManager(ClientEntity formdata) { var clientDAC = new ClientDAC(); return(clientDAC.AddSelectedManager(formdata)); }
public string Savemanager(ClientEntity orgAccount) { var clientDAC = new ClientDAC(); return(clientDAC.Savemanager(orgAccount)); }
public string AddSelectedEmployee(ClientEntity formdata) { var clientDAC = new ClientDAC(); return(clientDAC.AddSelectedEmployee(formdata)); }
public string AssociateEmployee(ClientEntity orgAccount) { var clientDAC = new ClientDAC(); return(clientDAC.AssociateEmployee(orgAccount)); }
public ProjectAllocationEntities GetManagerDetailByMId(int selectedManager) { var ProjectDAC = new ClientDAC(); return(ProjectDAC.GetManagerDetailByMId(selectedManager)); }
public List <ProjectAllocationEntities> GetGenders() { var count = new ClientDAC(); return(count.GetGenders()); }
public List <ProjectEntity> GetAllProjects(int Proj_ProjectID) { var ClientDAC = new ClientDAC(); return(ClientDAC.GetAllProjects(Proj_ProjectID)); }