public async Task <int> UpdateAsync(int id, GarmentWeeklyPlan model) { WeeklyPlanLogic.UpdateAsync(id, model); return(await DbContext.SaveChangesAsync()); }
public async Task <int> CreateAsync(GarmentWeeklyPlan model) { WeeklyPlanLogic.Create(model); return(await DbContext.SaveChangesAsync()); }