public AvailableWhishLists AddWhishList(AvailableWhishLists availableWhishLists) { _dbContext.AvailableWhishLists.Add(availableWhishLists); _dbContext.SaveChanges(); return(availableWhishLists); }
public AvailableWhishLists AddWhishList(AvailableWhishLists availableWhishLists) { availableWhishLists.Status = "InActive"; availableWhishLists.WhishListedDate = updateddate; return(whishListRepository.AddWhishList(availableWhishLists)); }