You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xUnitStudy/xUnitStudy.IDal/IStudentDal.cs

25 lines
527 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using xUnitStudy.Model;
namespace xUnitStudy.IDal
{
public interface IStudentDal
{
List<Student> Students { get; set; }
List<Student> GetAll();
Student GetStudentById(int studentId);
(bool result, Student student) AddStudent(Student student);
(bool result, Student student) UpdateStudent(Student student);
bool DeleteStudent(int userId);
}
}