Blog.Core/Blog.Core.Services/AdvertisementServices.cs

50 lines
1.1 KiB
C#
Raw Permalink Normal View History

2020-07-30 18:33:09 +08:00
using Blog.Core.IRepository.Base;
2018-08-22 12:18:14 +08:00
using Blog.Core.IServices;
2018-08-23 13:06:30 +08:00
using Blog.Core.Model.Models;
2018-08-24 14:06:48 +08:00
using Blog.Core.Services.BASE;
2018-08-22 12:18:14 +08:00
namespace Blog.Core.Services
{
2018-08-24 14:06:48 +08:00
public class AdvertisementServices : BaseServices<Advertisement>, IAdvertisementServices
2018-08-22 12:18:14 +08:00
{
2019-01-13 20:20:19 +08:00
public void ReturnExp()
{
int a = 1;
int b = 0;
// int c = a / b;
2019-01-13 20:20:19 +08:00
}
2018-08-24 14:06:48 +08:00
//public IAdvertisementRepository dal = new AdvertisementRepository();
//public int Sum(int i, int j)
//{
2019-03-25 11:11:17 +08:00
// return base.Sum(i, j);
2018-08-22 12:18:14 +08:00
2018-08-24 14:06:48 +08:00
//}
2018-08-23 13:06:30 +08:00
2018-08-24 14:06:48 +08:00
//public int Add(Advertisement model)
//{
2019-03-25 11:11:17 +08:00
// return base.Add(model);
2018-08-24 14:06:48 +08:00
//}
2018-08-23 13:06:30 +08:00
2018-08-24 14:06:48 +08:00
//public bool Delete(Advertisement model)
//{
2019-03-25 11:11:17 +08:00
// return base.Delete(model);
2018-08-24 14:06:48 +08:00
//}
2018-08-23 13:06:30 +08:00
2018-08-24 14:06:48 +08:00
//public List<Advertisement> Query(Expression<Func<Advertisement, bool>> whereExpression)
//{
2019-03-25 11:11:17 +08:00
// return base.Query(whereExpression);
2018-08-23 13:06:30 +08:00
2018-08-24 14:06:48 +08:00
//}
2018-08-23 13:06:30 +08:00
2018-08-24 14:06:48 +08:00
//public bool Update(Advertisement model)
//{
2019-03-25 11:11:17 +08:00
// return base.Update(model);
2018-08-24 14:06:48 +08:00
//}
2018-08-23 13:06:30 +08:00
2018-08-22 12:18:14 +08:00
}
}