public HttpResponseMessage DeletePageType(PageTypes pageTypeData) { var result = _repository.DeletePageType(pageTypeData); return(Request.CreateResponse(HttpStatusCode.OK, result)); }
public bool DeletePageType(System.Int32 PageTypeId) { return(_iPageTypeRepository.DeletePageType(PageTypeId)); }