Kyonax_app-web-ganadera/src/Ganaderia.App/Ganaderia.App.Persistencia/AppContext/IRepositoryFarm.cs
using Ganaderia.App.Dominio;
using System.Collections.Generic;
using System.Linq;

namespace Ganaderia.App.Persistencia

{
    public interface IRepositoryFarm
    {
        Farm AddFarm(Farm farm);

        IEnumerable<Farm> GetAllFarms();

        Farm GetFarm(int idFarm);

        Farm UpdateFarm(Farm farm);

        void DeleteFarm(int idFarm);
    }
}