27 lines
645 B
C#
27 lines
645 B
C#
// using System;
|
|
// using System.Collections.Generic;
|
|
// using System.Linq;
|
|
// using System.Threading.Tasks;
|
|
// using Contracts.DTOs.HR;
|
|
// using Domain;
|
|
// using Domain.Entities.HR;
|
|
// using Microsoft.EntityFrameworkCore;
|
|
|
|
// namespace Auth.Core.Services.HR.Users;
|
|
|
|
// public class SalaryService
|
|
// {
|
|
// private readonly Context context;
|
|
|
|
// public SalaryService(Context context)
|
|
// {
|
|
// this.context = context;
|
|
// }
|
|
|
|
// public async Task AddNewSalaryToUser(SalaryVM salaryVM)
|
|
// {
|
|
// await context.Salaries.AddAsync(Salary.ToEntity(salaryVM));
|
|
// await context.SaveChangesAsync();
|
|
// }
|
|
// }
|