using OFBButte.Application.Database; using OFBButte.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace OFBButte.Application.Missionary { public class GetMissionarySupportForm { private readonly IOFBContext context; public GetMissionarySupportForm(IOFBContext context) { this.context = context; } public MissionarySupport Handle(int id) { return context.MissionarySupportForms.FirstOrDefault(m => m.Id == id); } } }