public TicketBlModelResponse ( int ticketId, [NotNull] string filmName, int placeNumber, int rowNumber, [NotNull] PlaceTypeBlModel placeType, [NotNull] string hallName, [NotNull] string cinemaName, decimal sessionPrice, [CanBeNull] ServiceBlModelResponseForTicket[] services, TicketStatus ticketStatus, DateTimeOffset createdAt ) { TicketId = ticketId; FilmName = filmName; PlaceNumber = placeNumber; RowNumber = rowNumber; PlaceType = placeType; HallName = hallName; CinemaName = cinemaName; SessionPrice = sessionPrice; Services = services; TicketStatus = ticketStatus; CreatedAt = createdAt; }
public PlaceBlModel( int id, int hallId, [NotNull] PlaceTypeBlModel type, int rowNumber, int placeNumber, decimal price, int priceId, [NotNull] string placeStatus ) { Id = id; HallId = hallId; Type = type; RowNumber = rowNumber; PlaceNumber = placeNumber; Price = price; PriceId = priceId; PlaceStatus = placeStatus; }