using EncodeFirst.TestService.BusinessObjects.Types.Filters; using EncodeFirst.TestService.BusinessObjects.Types.DataModel; namespace EncodeFirst.TestService.BusinessObjects.Contracts { public interface ITerminalRepository { /// <summary> /// Gets the terminal by code. /// </summary> /// <param name="code">The code of the terminal.</param> /// <returns></returns> /// <remarks></remarks> Terminal GetTerminalByCode(string code); /// <summary> /// Gets the Terminals list. /// </summary> /// <returns></returns> /// <remarks></remarks> Terminal[] GetTerminalsList(); /// <summary> /// Gets the terminals list by merchant code. /// </summary> /// <param name="merchantCode">The merchant code.</param> /// <returns></returns> /// <remarks></remarks> Terminal[] GetTerminalsListByMerchantCode(string merchantCode); /// <summary> /// Inserts the specified Terminal. /// </summary> /// <param name="Terminal">The Terminal.</param> /// <returns></returns> /// <remarks></remarks> bool Insert(Terminal Terminal); /// <summary> /// Updates the specified Terminal. /// </summary> /// <param name="Terminal">The Terminal.</param> /// <returns></returns> /// <remarks></remarks> bool Update(Terminal Terminal); /// <summary> /// Deletes the specified Terminal Id. /// </summary> /// <param name="TerminalId">The Terminal Id.</param> /// <returns></returns> /// <remarks></remarks> bool Delete(long terminalId); } }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)