public async Task <MaintenanceModel> GetMaintenanceById(int MaintenanceId) { var Maintenance = await _MaintenanceRepository.GetByIdAsync(MaintenanceId); var mapped = ObjectMapper.Mapper.Map <MaintenanceModel>(Maintenance); return(mapped); }