コード例 #1
0
ファイル: MaintenanceService.cs プロジェクト: EmrahTb/Netlog
        public async Task <MaintenanceModel> GetMaintenanceById(int MaintenanceId)
        {
            var Maintenance = await _MaintenanceRepository.GetByIdAsync(MaintenanceId);

            var mapped = ObjectMapper.Mapper.Map <MaintenanceModel>(Maintenance);

            return(mapped);
        }