public List<UserVM> GetProjectMembers(int projectId)
 {
     List<UserVM> result = new List<UserVM>();
     List<UserModel> userModel = _projectDataAccess.GetProjectMembers(projectId);
     foreach (UserModel model in userModel)
     {
         UserVM viewModel = new UserVM();
         viewModel.Id = model.Id;
         viewModel.Name = model.Name;
         viewModel.Email = model.Email;
         viewModel.Dept = model.Dept;
         viewModel.Role = model.Role;
         result.Add(viewModel);
     }
     return result;
 }
 public List<UserVM> GetUsers()
 {
     List<UserVM> result = new List<UserVM>();
     List<UserModel> userModelList = _userDataAccess.GetUsers();
     foreach (UserModel model in userModelList)
     {
         UserVM viewModel = new UserVM();
         viewModel.Id = model.Id;
         viewModel.Name = model.Name;
         viewModel.Email = model.Email;
         viewModel.Dept = model.Dept;
         viewModel.Mobile = model.Mobile;
         viewModel.ImageUrl = model.ImageUrl;
         viewModel.Org = model.Org;
         result.Add(viewModel);
     }
     return result;
 }