C# Class Samba.Services.MainDataContext.TicketWorkspace

Mostra file Open project: emreeren/SambaPOS-2

Public Methods

Method Description
AddItemToSelectedTicket ( Samba.Domain.Models.Tickets.TicketItem model ) : void
CommitChanges ( ) : void
CreateTicket ( Samba.Domain.Models.Tickets.Department department ) : void
GetTableWithId ( int tableId ) : Samba.Domain.Models.Tables.Table
GetTicketTable ( ) : Samba.Domain.Models.Tables.Table
LoadTable ( string locationName ) : Samba.Domain.Models.Tables.Table
OpenTicket ( int ticketId ) : void
RemoveTaxServices ( IEnumerable taxServices ) : void
RemoveTicketItems ( IEnumerable selectedItems ) : void
Reset ( ) : void
ResetTableData ( Samba.Domain.Models.Tickets.Ticket ticket ) : void
UpdateCustomer ( Samba.Domain.Models.Customers.Customer customer ) : Samba.Domain.Models.Customers.Customer

Method Details

AddItemToSelectedTicket() public method

public AddItemToSelectedTicket ( Samba.Domain.Models.Tickets.TicketItem model ) : void
model Samba.Domain.Models.Tickets.TicketItem
return void

CommitChanges() public method

public CommitChanges ( ) : void
return void

CreateTicket() public method

public CreateTicket ( Samba.Domain.Models.Tickets.Department department ) : void
department Samba.Domain.Models.Tickets.Department
return void

GetTableWithId() public method

public GetTableWithId ( int tableId ) : Samba.Domain.Models.Tables.Table
tableId int
return Samba.Domain.Models.Tables.Table

GetTicketTable() public method

public GetTicketTable ( ) : Samba.Domain.Models.Tables.Table
return Samba.Domain.Models.Tables.Table

LoadTable() public method

public LoadTable ( string locationName ) : Samba.Domain.Models.Tables.Table
locationName string
return Samba.Domain.Models.Tables.Table

OpenTicket() public method

public OpenTicket ( int ticketId ) : void
ticketId int
return void

RemoveTaxServices() public method

public RemoveTaxServices ( IEnumerable taxServices ) : void
taxServices IEnumerable
return void

RemoveTicketItems() public method

public RemoveTicketItems ( IEnumerable selectedItems ) : void
selectedItems IEnumerable
return void

Reset() public method

public Reset ( ) : void
return void

ResetTableData() public method

public ResetTableData ( Samba.Domain.Models.Tickets.Ticket ticket ) : void
ticket Samba.Domain.Models.Tickets.Ticket
return void

UpdateCustomer() public method

public UpdateCustomer ( Samba.Domain.Models.Customers.Customer customer ) : Samba.Domain.Models.Customers.Customer
customer Samba.Domain.Models.Customers.Customer
return Samba.Domain.Models.Customers.Customer