/// <summary>
 /// The status of a quotation.
 /// </summary>
 /// <param name="date">The date on which the status is applied</param>
 /// <param name="type">The type of the quotation status</param>
 public QuotationStatus(DateTime date, QuotationStatusType type)
 {
     Date = date;
     Type = type;
 }
 public IEnumerable <Quotation> GetByStatus(QuotationStatusType quotationStatusType)
 {
     return(DbSet.Where(q => q.CurrentStatus.Type == quotationStatusType));
 }