Skip to content

Instantly share code, notes, and snippets.

@azaharafernandezguizan
Created December 30, 2018 17:01
Show Gist options
  • Save azaharafernandezguizan/d77b51406a0c5aeae14dafea921980fb to your computer and use it in GitHub Desktop.
Save azaharafernandezguizan/d77b51406a0c5aeae14dafea921980fb to your computer and use it in GitHub Desktop.
Repository Interface on NetCore
using MyDBContext.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace MyBusinessLogic
{
public interface IRecursosRepository: IDisposable
{
void InsertRecurso(Recursos recurso);
void DeleteRecurso(int recursoID);
void UpdateRecurso(Recursos recurso);
List<Recursos> GetAllRecursos();
Recursos GetRecursoById(int recursoID);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment