26 lines
820 B
Plaintext
26 lines
820 B
Plaintext
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using WinformDevFramework.IRepository.System;
|
|
using WinformDevFramework.IRepository.UnitOfWork;
|
|
using WinformDevFramework.IServices.System;
|
|
using WinformDevFramework.IServices;
|
|
using WinformDevFramework.IRepository;
|
|
using WinformDevFramework.Models;
|
|
namespace ${NameSpace}.Services
|
|
{
|
|
public class ${tableName}Services : BaseServices<${tableName}>, I${tableName}Services
|
|
{
|
|
private readonly I${tableName}Repository _dal;
|
|
private readonly IUnitOfWork _unitOfWork;
|
|
|
|
public ${tableName}Services(IUnitOfWork unitOfWork, I${tableName}Repository dal)
|
|
{
|
|
this._dal = dal;
|
|
base.BaseDal = dal;
|
|
_unitOfWork = unitOfWork;
|
|
}
|
|
}
|
|
} |