Files
hrm_eva/Models/rep_kp7/rep_kp7Service.cs
Nakorn Rientrakrunchai 8762bcaead รายงาน กพ7
2020-09-07 17:39:34 +07:00

42 lines
985 B
C#

using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using TTSW.EF;
using TTSW.Utils;
using TTSW.Constant;
using TTSW.Common;
using TodoAPI2.Models;
using System.IO;
using System.Web;
using System.Net;
using TTSW.Configure;
using Microsoft.Extensions.Options;
using System.Data;
namespace TodoAPI2.Models
{
public class rep_kp7Service : Irep_kp7Service
{
private IMyDatabase db;
private Iexternal_linkageService ext;
private Iexternal_employeeService emp;
public rep_kp7Service(IMyDatabase mydb, Iexternal_linkageService inext, Iexternal_employeeService inemp)
{
db = mydb;
ext = inext;
emp = inemp;
}
public rep_kp7WithSelectionViewModel GetBlankItem()
{
var i = new rep_kp7WithSelectionViewModel();
i.item_employee_id = (from x in emp.GetAllEmployee() select x).ToList();
return i;
}
}
}