public async Task DeleteADProfileTaskMapping(long MasterProfileTaskMappingId) { ADProfileTaskMapping objADProfileTaskMapping = _Context.ADProfileTaskMappings.Find(MasterProfileTaskMappingId); _Context.ADProfileTaskMappings.Remove(objADProfileTaskMapping); await _Context.SaveChangesAsync(); }
public async Task UpdateADProfileTaskMapping(ADProfileTaskMapping objADProfileTaskMapping) { _Context.Entry(objADProfileTaskMapping).State = Microsoft.EntityFrameworkCore.EntityState.Modified; await _Context.SaveChangesAsync(); }
public async Task InsertADProfileTaskMapping(ADProfileTaskMapping objADProfileTaskMapping) { _Context.ADProfileTaskMappings.Add(objADProfileTaskMapping); await _Context.SaveChangesAsync(); }