using RecruitmentDAL.DTO.ProfileGenerator; using GB5Shared.DTO.Framework.Criteria; using GB5Shared.DTO.Framework.Login; using System.Data.Common; using System.Threading; using System.Threading.Tasks; namespace RecruitmentDAL.CustomeCode.ProfileGenerator { public interface IProfileGeneratorDAL { #region Get Task GetProfileGenerator(int ProfileGeneratorId, LoginDTO LoginDTO, CancellationToken ct); #endregion #region Select List Task GetSelectListProfileGenerator(CriteriaDTO CriteriaDTO, LoginDTO LoginDTO, CancellationToken ct); #endregion #region Save /// /// Inserts a new TPROFILEGENERATOR row and returns the IDENTITY value the database /// assigned to PROFILEGENERATORID (via SELECT SCOPE_IDENTITY() in ProfileGeneratorQB.SAVE_PROFILEGENERATOR). /// Task SaveProfileGenerator(ProfileGeneratorDTO ProfileGeneratorDTO, LoginDTO LoginDTO, DbTransaction transaction, CancellationToken ct); #endregion #region Update Task UpdateProfileGenerator(ProfileGeneratorDTO ProfileGeneratorDTO, LoginDTO LoginDTO, DbTransaction transaction, CancellationToken ct); #endregion #region Delete Task DeleteProfileGenerator(int ProfileGeneratorId, LoginDTO LoginDTO, DbTransaction transaction, CancellationToken ct); #endregion } }