public IEnumerable <ApplicationUser> GetallbyReshteh(ZirReshteh ZR)
 {
     try
     {
         var w = db.Set <ReshtehUser>()
                 .Where(x => x.ZirReshtehId.Equals(ZR.Id) && !x.IsDeleted)
                 .Select(c => c.User).ToList();
         return(w);
     }
     catch (Exception e)
     {
         throw e;
     }
 }
 public Task <bool> DeleteASync(ZirReshteh entity)
 {
     throw new NotImplementedException();
 }
 public bool Delete(ZirReshteh entity)
 {
     throw new NotImplementedException();
 }
 public Task <ZirReshteh> Insert_ReturnObjectASync(ZirReshteh entity)
 {
     throw new NotImplementedException();
 }
 public ZirReshteh Insert_ReturnObject(ZirReshteh entity)
 {
     throw new NotImplementedException();
 }
 public bool Insert(ZirReshteh entity)
 {
     throw new NotImplementedException();
 }