public async Task <ActionResult <MessageModel <string> > > DeletePrProductCategory(int id) { var res = new MessageModel <string>(); if (!await _prProductCategoryServices.ExistEntityAsync(a => a.Id == id)) { return(NotFound(StyleCode.NotFound(res))); } await _prProductCategoryServices.DeleteEntityByIdAsync(id); return(Ok(res)); }