Ejemplo n.º 1
0
        public async Task DeleteADProfileTaskMapping(long MasterProfileTaskMappingId)
        {
            ADProfileTaskMapping objADProfileTaskMapping = _Context.ADProfileTaskMappings.Find(MasterProfileTaskMappingId);

            _Context.ADProfileTaskMappings.Remove(objADProfileTaskMapping);
            await _Context.SaveChangesAsync();
        }
Ejemplo n.º 2
0
 public async Task UpdateADProfileTaskMapping(ADProfileTaskMapping objADProfileTaskMapping)
 {
     _Context.Entry(objADProfileTaskMapping).State = Microsoft.EntityFrameworkCore.EntityState.Modified;
     await _Context.SaveChangesAsync();
 }
Ejemplo n.º 3
0
 public async Task InsertADProfileTaskMapping(ADProfileTaskMapping objADProfileTaskMapping)
 {
     _Context.ADProfileTaskMappings.Add(objADProfileTaskMapping);
     await _Context.SaveChangesAsync();
 }