Skip to content

Instantly share code, notes, and snippets.

Avatar

Rob Salas salasrob

View GitHub Profile
@salasrob
salasrob / Location.cs
Created Oct 14, 2021
.NET Core - Sample of one of the models - Welrus
View Location.cs
using Sabio.Models.Domain.Provider;
using System;
using System.Collections.Generic;
using System.Text;
namespace Sabio.Models.Domain
{
public class Location
{
@salasrob
salasrob / ProviderDetailsApiController.cs
Created Oct 14, 2021
.NET Core - Provider details RESTful API controller - Welrus
View ProviderDetailsApiController.cs
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Sabio.Models;
using Sabio.Models.Domain.Provider;
using Sabio.Models.Requests.ProviderDetails;
using Sabio.Services;
using Sabio.Services.Interfaces;
using Sabio.Services.ProviderDetailsService;
using Sabio.Web.Controllers;
@salasrob
salasrob / ProviderServiceApiController.cs
Created Oct 14, 2021
.NET Core - Provider service RESTful API controller - Welrus
View ProviderServiceApiController.cs
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Sabio.Services;
using Sabio.Web.Controllers;
using Sabio.Services.Interfaces;
using System;
using System.Collections.Generic;
using Sabio.Models.Domain.Provider;
using Sabio.Web.Models.Responses;
using Sabio.Models.Requests.ProviderDetails.Details;
@salasrob
salasrob / LocationApiController.cs
Created Oct 14, 2021
.NET Core - Location RESTful API controller - Welrus
View LocationApiController.cs
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Sabio.Models;
using Sabio.Models.Domain;
using Sabio.Models.Domain.Provider;
using Sabio.Models.Requests.Locations;
using Sabio.Services;
using Sabio.Web.Controllers;
using Sabio.Web.Models.Responses;
using System;
@salasrob
salasrob / IAppointmentService.cs
Created Oct 14, 2021
.NET Core - sample of one of the interfaces - Welrus
View IAppointmentService.cs
using Sabio.Models.Domain.Provider;
using Sabio.Models.Requests.Appointments;
using Sabio.Models.Requests.ProviderDetails.Appointments;
using System;
using System.Collections.Generic;
using System.Text;
namespace Sabio.Services.Interfaces
{
public interface IAppointmentService
@salasrob
salasrob / ProviderDetailsService.cs
Created Oct 14, 2021
.NET Core - Provider Detail service - Welrus
View ProviderDetailsService.cs
using Sabio.Data;
using Sabio.Data.Providers;
using Sabio.Models;
using Sabio.Models.Domain;
using Sabio.Models.Domain.Provider;
using Sabio.Models.Requests.ProviderDetails;
using Sabio.Models.Requests.ProviderDetails.Details;
using Sabio.Services.Interfaces;
using System;
using System.Collections.Generic;
@salasrob
salasrob / ProviderServiceService.cs
Created Oct 14, 2021
.NET Core - Provider service - Welrus
View ProviderServiceService.cs
using Sabio.Data;
using Sabio.Data.Providers;
using Sabio.Models;
using Sabio.Models.Domain;
using Sabio.Models.Domain.Provider;
using Sabio.Models.Requests.Locations;
using Sabio.Models.Requests.ProviderDetails.Details;
using Sabio.Services.Interfaces;
using System;
using System.Collections.Generic;
@salasrob
salasrob / LocationService.cs
Created Oct 14, 2021
.NET Core - Location service - Welrus
View LocationService.cs
using Sabio.Data.Providers;
using Sabio.Models.Requests.Locations;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using Sabio.Models.Domain;
using Sabio.Data;
using Sabio.Models;
using Sabio.Models.Domain.Provider;
@salasrob
salasrob / AppointmentService.cs
Created Oct 14, 2021
.NET Core - Appointment service - Welrus
View AppointmentService.cs
using Sabio.Data;
using Sabio.Data.Providers;
using Sabio.Models.Domain;
using Sabio.Models.Domain.Provider;
using Sabio.Models.Requests.Appointments;
using Sabio.Models.Requests.ProviderDetails.Appointments;
using Sabio.Services.Interfaces;
using System;
using System.Collections.Generic;
using System.Data;
View HomePage.jsx
import React, { Fragment } from "react";
import { Link } from "react-router-dom";
import {
Grid,
Container,
InputAdornment,
IconButton,
Button,
Tooltip,
TextField,