public Task <int> CreateAsync(StrikeOffModel model) { StrikeOffLogic.CreateModel(model); return(DbContext.SaveChangesAsync()); }
public async Task <int> UpdateAsync(int id, StrikeOffModel model) { await StrikeOffLogic.UpdateModelAsync(id, model); return(await DbContext.SaveChangesAsync()); }