public AlgorithmModel Get( ) { AlgorithmModel model = new AlgorithmModel(); model.get(Uow); return(model); }
public AlgorithmModel post(AlgorithmModel model) { if (model.LankymoData.HasValue && string.Format("{0:yyyy-MM-dd}", model.LankymoData.Value) == "2010-01-01") { model.ResetData(Uow, model.LankymoData.Value); } model.get(Uow); return(model); }