コード例 #1
0
 public JsonResult GetControls(
     string DepartmentName,
     string ControlType,
     short?Status,
     short MainTypeId,
     DateTime FromDate,
     DateTime ToDate
     ) => new JsonResult(_mapper.Map <IEnumerable <ControlDto> >(
                             _repository.GetControls(
                                 DepartmentName,
                                 ControlType,
                                 Status,
                                 MainTypeId,
                                 FromDate,
                                 ToDate
                                 )
                             ));