tycg_carviolation_BE/Traffic.Service/Interfaces/ICompanyInformationService.cs

28 lines
935 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Traffic.Data.Models;
using Traffic.Data.ViewModels;
namespace Traffic.Service.Interfaces
{
public interface ICompanyInformationService
{
public IEnumerable<CompanyInformationViewModel> GetCompanyInformations();
public IEnumerable<CompanyInformationViewModel> GetCompanyInformationsEmailNotNull();
public PageViewModel<IEnumerable<CompanyInformation>> GetCompanyInformations(SearchModel searchModel);
public CompanyInformationViewModel GetCompanyInformationById(int id);
public TradeResultModel InsertCompanyInformation(CompanyInformationViewModel CompanyInformation);
public TradeResultModel UpdatCompanyInformation(int id, CompanyInformationViewModel CompanyInformation);
public TradeResultModel DeleteCompanyInformation(int id);
}
}