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; 
 | 
        } 
 | 
    } 
 | 
} 
 |