Inventory details
This commit is contained in:
@@ -27,6 +27,8 @@ namespace InventoryTraker.Web.Models
|
||||
|
||||
public string Memo { get; set; }
|
||||
|
||||
public bool IsExpired => ExpirationDate < DateTime.Today;
|
||||
|
||||
public void CreateMappings(IMapperConfiguration configuration)
|
||||
{
|
||||
configuration.CreateMap<Inventory, InventoryViewModel>()
|
||||
|
||||
Reference in New Issue
Block a user