public IActionResult CreateNewPostCategory([FromBody] PostCategoriesCreateModel model) { var res = _postCategoryService.CreatePostCategories(model); if (res == 0) { return(ErrorBaseResponse(System.Net.HttpStatusCode.NotFound)); } return(OkBaseResponse(res)); }