public static bool UpdateDistributorMessage(DistributorsInfo query) { int num = DistributorsBrower.IsExiteDistributorsByStoreName(query.StoreName); return((num == 0 || num == query.UserId) && new DistributorsDao().UpdateDistributorMessage(query)); }
public static bool UpdateDistributorMessage(DistributorsInfo query) { int num = DistributorsBrower.IsExiteDistributorsByStoreName(query.StoreName); return((num == 0 || num == query.UserId) && new DistributorsDao().UpdateDistributorMessage(query)); }