public async Task <int> SaveCostCategoryDetails(CostCategoryViewModel costCodeViewModel) { CostCategory costCategoryItem = new CostCategory { CostCategoryId = costCodeViewModel.CostCategoryId, CostCategoryTitle = costCodeViewModel.CostCategoryTitle, CostCategoryParentId = costCodeViewModel.CostCategoryParentId, CostCategoryDetails = costCodeViewModel.CostCategoryDetails, isDeleted = costCodeViewModel.isDeleted }; var costCategoryObj = await _costCategoryRespository.CreateAsync(costCategoryItem); return(costCategoryObj.CostCategoryId); }
public Task <CostCategoryViewModel> UpdateCostCategoryDetails(CostCategoryViewModel costCodeViewModel) { throw new NotImplementedException(); }