コード例 #1
0
 public ProjectProposalType(ICompanyLogic companyLogic)
 {
     Field(x => x.ProjectProposalID);
     Field(x => x.Name);
     Field(x => x.Goal);
     Field(x => x.ProposalDate);
     Field(x => x.DaysDuration);
     Field(x => x.StartDateProjectProposal);
     Field(x => x.Description);
     Field(x => x.Activities);
     FieldAsync <CompanyType>("company", resolve: async context => { return(await companyLogic.GetByProjectProposalId(context.Source.ProjectProposalID)); });
     //Field<ListGraphType<PhaseType>>("phases", resolve: context => { return phaseLogic.GetByProjectPlan(context.Source.DocumentID); }); PROJECT COVERING SUBJECTS
 }