public void Update(Wsmy582 entity)
 {
     _context.Wsmy582.Update(entity).Property(x => x.Id).IsModified = false;;
 }
        public async Task Delete(int id)
        {
            Wsmy582 entity = await GetById(id);

            _context.Wsmy582.Remove(entity);
        }
 public async Task Add(Wsmy582 entity)
 {
     await _context.Wsmy582.AddAsync(entity);
 }