public object GetProjectConfirmationList(Guid projectId, DateTime reportDate)
        {
            CurrentUserInfo currentUserInfo = _tokenHelper.GetUserInfo();

            if (!_projectLogic.IsProjectExist(currentUserInfo.Id, projectId))
            {
                return(Request.CreateResponse(HttpStatusCode.NotFound, new BaseResponse(ResponseStatus.Notfound.ToString(), ResponseMessagesModel.ProjectNotFound)));
            }

            ProjectData projectData = _projectLogic.GetProjectData(projectId);

            IList <ReportConfirmationViewModel> reportConfirmationViewModels = projectData.ProjectTeamDatas.Select(pt =>
                                                                                                                   ReportConfirmationViewModel.GetReportConfirmationViewModel(
                                                                                                                       pt.UserData, projectData, reportDate)).ToList();

            reportConfirmationViewModels.Add(ReportConfirmationViewModel.GetReportConfirmationViewModel(projectData.UserData, projectData, reportDate));

            return(Request.CreateResponse(HttpStatusCode.OK, new BaseResponse(ResponseStatus.Success.ToString(),
                                                                              ResponseMessagesModel.Success, reportConfirmationViewModels)));
        }
 public ReportConfirmationPage()
 {
     InitializeComponent();
     BindingContext = new ReportConfirmationViewModel(this.Navigation);
     NavigationPage.SetHasBackButton(this, false);
 }