31 lines
644 B
31 lines
644 B
3 years ago
|
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(int userId)
|
||
|
{
|
||
|
return PointDAL.Query(userId);
|
||
|
}
|
||
|
}
|
||
|
}
|