cleaning duplicated definitions

This commit is contained in:
Paul Schneider 2017-07-03 15:54:18 +02:00
commit 003651e461
20 changed files with 5816 additions and 561 deletions

View file

@ -158,6 +158,8 @@ namespace Yavsc.Models
using (var context = new ApplicationDbContext())
{
var item = this.Tokens.FirstOrDefault(x => x.UserId == googleUserId);
// TODO Refresh token
return Task.FromResult(item);
}
}

View file

@ -18,12 +18,15 @@
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
using System;
namespace Yavsc.Models.Google
{
/// <summary>
/// Calendar event list.
/// </summary>
[Obsolete("use GoogleUse.Apis")]
public class CalendarEventList
{
/// <summary>

View file

@ -19,11 +19,14 @@
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
using System;
namespace Yavsc.Models.Google.Calendar
{
/// <summary>
/// Calendar list.
/// </summary>
[Obsolete("use Google.Apis")]
public class CalendarList {
/// <summary>
/// Gets or sets the kind.

View file

@ -19,11 +19,15 @@
// You should have received a copy of the GNU Lesser General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
using System;
namespace Yavsc.Models.Google.Calendar
{
/// <summary>
/// Calendar list entry.
/// </summary>
///
[Obsolete("use GoogleUse.Apis")]
public class CalendarListEntry {
/// <summary>
/// Gets or sets the kind.

View file

@ -1,6 +1,9 @@
using System;
namespace Yavsc.Models.Google.Calendar
{
public class Reminder {
[Obsolete("use GoogleUse.Apis")]
public class Reminder {
/// <summary>
/// Gets or sets the method.
/// </summary>

View file

@ -29,11 +29,11 @@ namespace Yavsc.Models.Google
/// <summary>
/// The date.
/// </summary>
public DateTime date;
public DateTime? date;
/// <summary>
/// The datetime.
/// </summary>
public DateTime datetime;
public DateTime? datetime;
/// <summary>
/// The time zone.
/// </summary>