/// <summary> /// This method is used to validate all the category contents with associated category /// </summary> /// <param name="model"></param> /// <returns></returns> public string ValidateCategoryContent(ContentModel model) { IContentOperationBL catBL = new CategoryContentOperationsBL(); string isValidate = catBL.ValidateCategoryContent(model); return(isValidate); }
public bool IsContentExists(ContentModel content) { IContentOperationBL conBL = new CategoryContentOperationsBL(); bool isExists = conBL.IsContentExists(content); return(isExists); }
public void SaveTaxName(string taxName) { IContentOperationBL catBL = new CategoryContentOperationsBL(); catBL.SaveTaxName(taxName); }
/// <summary> /// This method is used to update category content /// </summary> /// <param name="content"></param> public void UpdateCategoryContent(ContentModel content) { IContentOperationBL catBL = new CategoryContentOperationsBL(); catBL.UpdateCategoryContent(content); }
/// <summary> /// This method is used to delete Purchase and Sales Categories content /// </summary> /// <param name="content"></param> public void DeletePSCategoryContent(ContentModel content) { IContentOperationBL catBL = new CategoryContentOperationsBL(); catBL.DeletePSCategoryContent(content); }
/// <summary> /// This method is used to delete Category content /// </summary> /// <param name="contentID"></param> public void DeleteCategoryContent(int contentID) { IContentOperationBL catBL = new CategoryContentOperationsBL(); catBL.DeleteCategoryContent(contentID); }
/// <summary> /// This method is used to get category details /// </summary> /// <param name="ID"></param> /// <returns></returns> public IEnumerable <ContentModel> GetCategoryDetails(int ID) { IContentOperationBL catBL = new CategoryContentOperationsBL(); return(catBL.GetCategoryDetails(ID)); }