public TaskSignupViewModel(TaskUsers taskSignup)
        {
            Id = taskSignup.Id;
            Status = taskSignup.Status;
            StatusDateTimeUtc = taskSignup.StatusDateTimeUtc;
            StatusDescription = taskSignup.StatusDescription;

            if (taskSignup.Task != null)
            {
                TaskId = taskSignup.Task.Id;
                TaskName = taskSignup.Task.Name;
            }

            if(taskSignup.User != null)
            {
                UserId = taskSignup.User.Id;
                UserName = taskSignup.User.UserName;
            }


        }
 Task IAllReadyDataAccess.UpdateTaskSignupAsync(TaskUsers value)
 {
     _dbContext.TaskSignup.Update(value);
       return _dbContext.SaveChangesAsync();
 }
 Task IAllReadyDataAccess.AddTaskSignupAsync(TaskUsers taskSignup)
 {
     _dbContext.TaskSignup.Add(taskSignup);
       return _dbContext.SaveChangesAsync();
 }
 Task IAllReadyDataAccess.UpdateTaskSignupAsync(TaskUsers value)
 {
     _dbContext.TaskSignup.Update(value);
     return(_dbContext.SaveChangesAsync());
 }
 Task IAllReadyDataAccess.AddTaskSignupAsync(TaskUsers taskSignup)
 {
     _dbContext.TaskSignup.Add(taskSignup);
     return(_dbContext.SaveChangesAsync());
 }