Clothes.BLL/CLDressBLL.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Clothes.Model;
using Clothes.IBLL;
using Clothes.IDAL;
using Clothes.DAL;
using Clothes.Comment;
namespace Clothes.BLL
{
public class CLDressBLL : CLDressIBLL
{
CLDressIDAL dressDAL = new CLDressDAL();
public bool CLDressInsert(CLDress lDress)
{
return dressDAL.Insert(lDress);
}
public List<CLDress> SelctOrderByBLL()
{
return dressDAL.SelctOrderBy();
}
public OperResult<List<CLDress>> Select(int nan)
{
var list= dressDAL.Select(b =>b.TypeId==nan).ToList();
return OperResult<List<CLDress>>.Success(list);
}
public List<CLDress> SelecrLei(int id) {
return dressDAL.Select(a=>a.TypeId==id);
}
public CLDress SelectId(int id)
{
return dressDAL.Tiao(a => a.Id == id);
}
public bool Edit(int id, int shu)
{
return dressDAL.Edit(id,shu);
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。