public virtual async Task <ActionResult> GetStudetGroups(Guid groupId) { try { var std = await StudentGroupCore.GetAsync(groupId).ConfigureAwait(false); if (std == null) { return(BadRequest()); } return(Success()); } catch (Exception ex) { LogHelper.LogException <StudentGroupController>(ex); return(BadRequest()); } }
public virtual async Task <ActionResult> Display(Guid Id) { var stdgrp = await StudentGroupCore.GetAsync(Id); return(View(stdgrp)); }