Zhang-Hong-Lin
6 天以前 232cdf071bfe3bd2b77ba05accba89b67fcc1edc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEAWCS_Core;
using WIDESEAWCS_Core.BaseRepository;
using WIDESEAWCS_Core.BaseServices;
using WIDESEAWCS_ISystemServices;
using WIDESEAWCS_Model.Models;
using WIDESEAWCS_Model.Models.System;
 
namespace WIDESEAWCS_SystemServices
{
    public class dt_ThicknessHtyService : ServiceBase<dt_Thickness_hty, IRepository<dt_Thickness_hty>>, Idt_ThicknessHtyService
    {
        public dt_ThicknessHtyService(IRepository<dt_Thickness_hty> BaseDal) : base(BaseDal)
        {
        }
 
        public IRepository<dt_Thickness_hty> Repository => BaseDal;
 
        public override WebResponseContent AddData(dt_Thickness_hty entity)
        {
            return base.AddData(entity);
        }
 
        public WebResponseContent alldelete()
        {
            List<dt_Thickness_hty> weights = BaseDal.QueryData();
            BaseDal.DeleteData(weights);
            WebResponseContent w = new WebResponseContent();
            return w;
        }
    }
}