public ActionResult <NotificationTypeResponse> FindNotificationTypeById(int id) { var result = _notificationTypeRepository.FindNotificationTypeResponseById(id); if (result == null) { return(NotFound()); } return(Ok(result)); }