public IHttpActionResult GetNotificationTemplateById(string id) { var retVal = _notificationTemplateService.GetById(id); if (retVal != null) { return(Ok(retVal)); } return(NotFound()); }