31 lines
667 B
31 lines
667 B
using System;
|
|
using System.Collections.Generic;
|
|
|
|
using Pingchuan.BeijingSafeguard.DAL;
|
|
using Pingchuan.BeijingSafeguard.Model;
|
|
|
|
namespace Pingchuan.BeijingSafeguard.BLL
|
|
{
|
|
public class PointBLL
|
|
{
|
|
public static int Add(Point point)
|
|
{
|
|
return PointDAL.Add(point);
|
|
}
|
|
|
|
public static int Update(Point point)
|
|
{
|
|
return PointDAL.Update(point);
|
|
}
|
|
|
|
public static int Delete(int id)
|
|
{
|
|
return PointDAL.Delete(id);
|
|
}
|
|
|
|
public static List<Point> Query(string region, int userId)
|
|
{
|
|
return PointDAL.Query(region, userId);
|
|
}
|
|
}
|
|
}
|