コード例 #1
0
        public Phase Get(int engagementId, int phaseId)
        {
            if (!_accessService.AllowGetPhase(User, engagementId))
            {
                return(new Phase());
            }

            return(phaseId > 0 ? _phaseService.Get(phaseId) : new Phase {
                EngagementId = engagementId
            });
        }
コード例 #2
0
 public BaseResponse <IEnumerable <PhaseOutputDto> > Get([FromHeader] IDictionary <string, string> @params)
 {
     return(_phaseService.Get(@params));
 }