using Hims.Shared.EntityModels;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Hims.Domain.Services
{
    public interface IDriverDetailService
    {

        // <summary>
        /// Inserts the asynchronous.
        /// </summary>
        /// <param name="model">The model.</param>
        /// <returns></returns>
        Task<int> InsertAsync(DriverDetailModel model);

        /// <summary>
        /// Fetches all asynchronous.
        /// </summary>
        /// <param name="model">The model.</param>
        /// <returns></returns>
        Task<IEnumerable<DriverDetailModel>> FetchAllAsync(DriverDetailModel model);


        /// <summary>
        /// Updates the asynchronous.
        /// </summary>
        /// <param name="model">The model.</param>
        /// <returns></returns>
        Task<int> UpdateAsync(DriverDetailModel model);


        //Task<int> DeleteAsync(int driverDetailId);


        Task<int> ModifyStatusAsync(int driverDetailId, int modifiedBy, bool status);
    }
}
