From fd340899c6a43c7a0b89b5cac02d99a00fccf824 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Wed, 28 Jun 2017 01:57:52 +0200 Subject: [PATCH] creates a ViewModel --- Yavsc/Services/ICalendarManager.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Yavsc/Services/ICalendarManager.cs b/Yavsc/Services/ICalendarManager.cs index 8e5c7ccc..34843983 100644 --- a/Yavsc/Services/ICalendarManager.cs +++ b/Yavsc/Services/ICalendarManager.cs @@ -19,8 +19,6 @@ // You should have received a copy of the GNU Lesser General Public License // along with this program. If not, see . - - using System; namespace Yavsc.Models.Calendar @@ -28,6 +26,8 @@ namespace Yavsc.Models.Calendar using System.Threading.Tasks; using Yavsc.Models.Google.Calendar; using Yavsc.Models.Google; + using Yavsc.ViewModels.Calendar; + /// /// I calendar manager. @@ -35,5 +35,8 @@ namespace Yavsc.Models.Calendar public interface ICalendarManager { Task GetCalendarsAsync (string userId); Task GetCalendarAsync (string calid, DateTime mindate, DateTime maxdate); + Task CreateViewModel( + string inputId, + string calid, DateTime mindate, DateTime maxdate); } }