public IActionResult DeleteById(int id) { var foundType = _memberTypeService.Get(id); if (foundType == null) { return(NotFound()); } _memberTypeService.Delete(foundType, _backofficeSecurityAccessor.BackOfficeSecurity?.CurrentUser?.Id ?? -1); return(Ok()); }
protected override void DeleteContentType(IContentTypeBase contentType) { _service.Delete((IMemberType)contentType); }